package com.reason.user.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author yulongjun
 * @date 2020/6/29 8:15 下午  1
 */
@TableName("reason_condition")
public class Condition  implements Serializable {
    /**
     *择偶条件表主键id
     */
    @Id
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
    private Long id;
    /**
     *择偶的年龄选择
     */
    private Integer age;
    /**
     *择偶的民族
     */
    private String nation;
    /**
     *择偶的身高
     */
    private Integer height;
    /**
     *择偶的学历
     */
    private String education;
    /**
     *择偶的婚姻状态
     */
    private String maritalStatus;
    /**
     *择偶大概的居住地
     */
    private String address;
    /**
     *有无照片
     */
    private String hasNotPhoto;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHasNotPhoto() {
        return hasNotPhoto;
    }

    public void setHasNotPhoto(String hasNotPhoto) {
        this.hasNotPhoto = hasNotPhoto;
    }
}
